#!/usr/bin/env python
# -*- encoding: utf-8 -*-

class BizConstants(object):
    @staticmethod
    def create_playload_sicost():
        result = {
            "SysInfo": {
                "Flag": 0,
                "Msg": "",
                "SvcName": "mmsi01b1_inq",
                "Sender": "admin",
                "UUID": "",
                "UserName": "",
                "CompanyCode": "",
                "CompanyName": "",
                "ForeIP": "",
                "ForeMac": "",
                "ForeMachine": ""
            },
            "Tables": [
                {
                    "Name": "Table0",
                    "ExtendedProperties": {},
                    "Columns": [

                        {
                            "Name": "MAT_NO",
                            "Caption": "",
                            "DataType": "S"
                        },
                        {
                            "Name": "DATA_CHECK_FLAG",
                            "Caption": "",
                            "DataType": "S"
                        }, {
                            "Name": "PROD_END_TIME",
                            "Caption": "",
                            "DataType": "S"
                        }, {
                            "Name": "REC_ERASE_TIME",
                            "Caption": "",
                            "DataType": "S"
                        }

                    ],
                    "Rows": [
                        [
                            "mock_mat_no", "mock_table_source", "", ""
                        ]
                    ]
                }
            ],
            "ExtendedProperties": {}
        }
        return result

    @staticmethod
    def create_playload_sicut():
        result = {
            "SysInfo": {
                "Flag": 0,
                "Msg": "",
                "SvcName": "mm0001a2_inq",
                "Sender": "admin",
                "UUID": "",
                "UserName": "",
                "CompanyCode": "",
                "CompanyName": "",
                "ForeIP": "",
                "ForeMac": "",
                "ForeMachine": ""
            },
            "Tables": [
                {
                    "Name": "Table0",
                    "ExtendedProperties": {},
                    "Columns": [

                        {
                            "Name": "MAT_NO",
                            "Caption": "",
                            "DataType": "S"
                        }

                    ],
                    "Rows": [
                        [
                            "mock_mat_no"
                        ]
                    ]
                }
            ],
            "ExtendedProperties": {}
        }
        return result
